package ooday01;

public class Car {
    String brand;
    String color;
    int price;


    Car() {

    }

    Car(String brand, String color, int price) {
        this.brand = brand;
        this.color = color;
        this.price = price;
    }


    void start() {
        System.out.println(this.brand + "牌子的" + this.color + "颜色的" + this.price + "块钱的车启动了");
    }

    void run() {
        System.out.println(this.brand + "牌子的" + this.color + "颜色的" + this.price + "块钱的车开始跑了");
    }

    void stop() {
        System.out.println(this.brand + "牌子的" + this.color + "颜色的" + this.price + "块钱的车停止了");
    }


}
